Workspace Settings

TOC

New Settings to update

"code-runner.fileDirectoryAsCwd": true,
"code-runner.terminalRoot": "/mnt/",
"code-runner.saveAllFilesBeforeRun": true
 "breadcrumbs.enabled": true,

```External

[VSCode Docs Editing](https://code.visualstudio.com/docs/editor/codebasics)

[VSCode Doc-Navigation](https://code.visualstudio.com/docs/editor/editingevolved)

Favorite Themes:

Grigoryvp memory theme
Adapta Nokoto
Ark Dark
Atom One Dark
electron
Hopskotch (textmate)
Viow Darker


## Config
Nevermind the above:
This command returns all the installed extensions in a format that installs them in another:

```batch
code --list-extensions | xargs -L 1 echo code --install-extension

Each folder root should have

settings.json
tasks.json
launch.json
extensions.json
wsname.code-workspace

CLI options

Mastering VS Codes Terminal Blog

Here are optional arguments you can use when starting VS Code at the command line via code:

Argument|Description
-h or --help|Print usage.
-v or --version|Print VS Code version. (for example, 1.22.2), GitHub commit id, and architecture (for example, x64).
-n or --new-window|Opens a new session of VS Code instead of restoring the previous session (default).
-r or --reuse-window|Forces opening a file or folder in the last active window.
-g or --goto|When used with file:line[:character], opens a file at a specific line and optional character position. This argument is provided since some operating systems permit : in a file name.
-d or --diff|Open a file difference editor. Requires two file paths as arguments.
-w or --wait|Wait for the files to be closed before returning.
--locale <locale>|Set the display language (locale) for the VS Code session. (for example, en-US or zh-TW)

Argument|Description
--install-extension <ext> |Install an extension. Provide the full extension name publisher.extension as an argument. Use --force argument to avoid prompts.
--uninstall-extension <ext> |Uninstall an extension. Provide the full extension name publisher.extension as an argument.
--disable-extensions |Disable all installed extensions. Extensions will still be visible in the Disabled section of the Extensions view but they will never be activated.
--list-extensions |List the installed extensions.
--show-versions |Show versions of installed extensions, when using --list-extensions |
--enable-proposed-api <ext> |Enables proposed api features for an extension. Provide the full extension name publisher.extension as an argument.

Argument|Description
--extensions-dir <dir> |Set the root path for extensions.
--user-data-dir <dir> |Specifies the directory that user data is kept in, useful when running as root.
-s , --status |Print process usage and diagnostics information.
-p , --performance |Start with the Developer: Startup Performance command enabled.
--disable-gpu |Disable GPU hardware acceleration.
--verbose |Print verbose output (implies --wait ).
--prof-startup |Run CPU profiler during startup.
--upload-logs |Uploads logs from current session to a secure endpoint.
Multi-root|
--add <dir> |Add folder(s) to the last active window for a multi-root workspace.

file - |Name of a file to open. If the file doesn't exist, it will be created and marked as edited. You can specify multiple files by separating each file name with a space.
file:line[:character] - |Used with the -g argument. Name of a file to open at the specified line and optional character position. You can specify multiple files in this manner, but you must use the -g argument (once) before using the file:line[:character] specifier.
folder|Name of a folder to open. You can specify multiple folders and a new Multi-root Workspace is created.

Sometimes you will want to open or create a file. If the specified file does not exist, VS Code will create them for you along with any new intermediate folders:

code index.html style.css documentation\readme.md

Options
-d --diff <file> <file> | Compare two files with each other.
-a --add <folder> | Add folder(s) to the last active window.
-g --goto <file:line[:character]> Open a file at the path on the specified line and character position.
-n --new-window | Force to open a new window.
-r --reuse-window | Force to open a file or folder in an already opened window.
-w --wait | Wait for the files to be closed before returning.
--locale <locale> | The locale to use (e.g. en-US or zh-TW).
--user-data-dir <dir> | Specifies the directory that user data is kept in. Can be used to open multiple distinct instances of Code.
-v --version | Print version.
-h --help | Print usage.
--folder-uri <uri> | Opens a window with given folder uri(s)
--file-uri <uri> | Opens a window with given file uri(s)

Extensions Management
--extensions-dir <dir> | Set the root path for extensions.
--list-extensions | List the installed extensions.
--show-versions | Show versions of installed extensions, when using --list-extension.
--install-extension <extension-id> | Installs or updates the extension. Use --force argument to avoid prompts.
--uninstall-extension <extension-id> Uninstalls an extension.
--enable-proposed-api <extension-id> Enables proposed API features forextensions. Can receive one or moreextension IDs to enable individually.

Troubleshooting
--verbose | Print verbose output (implies --wait).
--log <level> | Log level to use. Default is 'info'. Allowed values are 'critical', 'error', 'warn', 'info', 'debug', 'trace', 'off'.
-s --status | Print process usage and diagnostics information.
-p --prof-modules | Capture performance markers while loading JS modules and print them with 'F1 > Developer: Startup Performance
--prof-startup | Run CPU profiler during startup
--disable-extensions | Disable all installed extensions.
--disable-extension <extension-id> Disable an extension.
--inspect-extensions <port> | Allow debugging and profiling of extensions. Check the developer tools for the connection URI.
--inspect-brk-extensions <port> | Allow debugging and profiling of extensions with the extension host being paused after start. Check the developer tools for the connection URI.
--disable-gpu | Disable GPU hardware acceleration.
--upload-logs | Uploads logs from current session to a secure endpoint.
--max-memory | Max memory size for a window (in Mbytes).

Open a project using URLs

vscode://file/{full path to project}/ vscode://file/c:/myProject/ Open a file vscode://file/{full path to file} vscode://file/c:/myProject/package.json Open a file to line and column vscode://file/{full path to file}:line:column vscode://file/c:/myProject/package.json:5:10

@builtin - Show extensions that come with VS Code. Grouped by type (Programming Languages, Themes, etc.).
@disabled - Show disabled installed extensions.
@installed - Show installed extensions.
@outdated - Show outdated installed extensions. A newer version is available on the Marketplace.
@enabled - Show enabled installed extensions. Extensions can be individually enabled/disabled.
@recommended - Show recommended extensions. Grouped as Workspace specific or general use.
@category - Show extensions belonging to specified category. Below are a few of supported categories. For a complete list, type @category and follow the options in the suggestion list:
@category:themes
@category:formatters
@category:linters
@category:snippets

Supported categories are: [Programming Languages, Snippets, Linters, Themes, Debuggers, Formatters, Keymaps, SCM Providers, Other, Extension Packs, Language Packs]. They can be

Settings (Global)

For Extension info and setup- go to Configurations

GitHub GIST ID for Settings Sync Has Changed

60c9fd462ef31067f7c7c7dd1a89aafd New Code Issued 3/24/19:

14f847af7982b94685f70da49cdf01f64f6f5c8a

14f847af7982b94685f70da49cdf01f64f6f5c8a

Personal Access Token on GitHub

e253b1882c10bb5edea7dd8b91a26b8c9d47c33a

Currently Using Remark

Keybindings

(Keys)[#Keys] -There are a number of key shortcuts in the .keybindings fi

Fonts

"editor.fontFamily": "Fira, 'Fira Code Retina', monospace",
"editor.fontFamily": "RobotoMono, 'Roboto Mono Medium', monospace",

Language Specific Overides:

  "[json]": {
    "editor.defaultFormatter": "HookyQR.beautify"
  },

Intellisense

VS Code IntelliSense offers different types of completions, including language server suggestions, snippets, and simple word based textual completions.

method icon|Methods, Functions and Constructors
variable icon|Variables and Fields
class|Classes
interface|Interfaces
module|Modules
property|Properties and Attributes
enumeration icon|Values and Enumerations
color|References
keyword|Keywords
global identifiers|Global Identifiers
color|Colors
unit|Unit
a square with ellipses forming the bottom show snippet prefix|Snippet Prefixes
a square with letters abc word completion|Words
Miscellaneous|Miscellaneous

Customizing Colors

it seems like you have to constrain it to just various themes. But you dont. At least with some. Its a bit unprecictable what affects what. Changing just variables on, turned this as in this.object.method() to green in java. Which is only sort of a variable?

    "editor.tokenColorCustomizations": {
      "[Markdown Editor]": {
         "keywords": "#FF0000",
      },
      "keywords": "#FF0000",
      "types": "#FFDF00",
      "variables": "#00FF00",
      "functions": "#FF0000",
      "numbers": "#FF0000",
      "comments": "#FF0000",
      "strings": "#FF0000",
        "textMateRules": [
          {
            "scope": "keyword.operator.arithmetic",
            "settings": {
              "foreground": "#FF0000"
            //  "fontStyle":
            }
          },
          {
            "name": "Some Name",
            "scope":"markup.inline.raw",
            "settings": {
              "foreground": "#00FF00",
              "fontStyle": "bold"
            }
          },
          {
            "scope": "markup",
            "settings": {
              "foreground": "#0000d0"
            }
          }
        ]
      }
    },

By Device

Desktop

User Settings (Desktop)

?

Last Update ?
{
  "folders": [
    {
      "path": "VS Code"
    }
  ],
  "settings": {
    //  "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
    "terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\wsl.exe",
    "pasteImage.silence": true,
    "pasteImage.enableImgTag": true,
    "files.autoSave": "onFocusChange",
    "files.autoSaveDelay": 120000,
    "files.hotExit": "onExitAndWindowClose",
    "editor.formatOnSave": true,
    //"markdown-checkbox.typeOfBulletPoint": "-",
    "pasteImage.path": "${currentFileDir\\\\resource",
    "pasteImage.defaultName": "${currentFileNameWithoutExt} (Y-MM-DD-HH-mm-ss)",
    "pasteImage.encodePath": "urlEncode",
    //User Settings
    //"java.errors.incompleteClasspath.severity": "ignore",
    "workbench.colorTheme": "One Dark Pro",
    "markdown-preview-enhanced.printBackground": true,
    "editor.fontFamily": "Fira, 'Fira Code Retina', monospace",
    //"terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\bash.exe"
    "[markdown]": {
      "editor.quickSuggestions": true
    }
  }
}
Workspace (Desktop)

ToDo

Folder (VS Code) (Desktop)

ToDo

Laptop

User (Laptop)

ToDo

Workspace (Laptop)

ToDo2

Folder (VS Code) (Laptop)

ToDo

VM

User (VM)

ToDo

Workspace (VM)

ToDo

Folder (VS Code) (VM)

ToDo

Work

User Settings (Work)

Last Update, 12/10/18

//  Custom Settings Specifcs.

{
  "python.pythonPath": "C:\\Python37-32\\Python.exe",
  "editor.wordWrap": "bounded",
  "http.proxy": "http://m-proxy1.swmed.edu:3128",
  "editor.fontLigatures": true,
  "markdown-preview-enhanced.codeBlockTheme": "auto.css",

  "markdown-preview-enhanced.enableScriptExecution": true,
  // Enable smartypants and other sweet transforms.
  "markdown-preview-enhanced.enableTypographer": false,
  //    "editor.fontFamily": "Fira Code",
  //    "editor.fontFamily": "Monoisomne",
  //    "editor.fontFamily": "Monoid",
  //    "editor.fontFamily": "Fixedsys Excelsior",
  //    "editor.fontFamily": "DejaVu Sans Code",
  //    "editor.fontFamily": "Iosevka",
  "editor.fontFamily": "Hasklig",
  //"editor.fontFamily": "Iosevka, 'DejaVu Sans Code',  'Fira Code', Hasklig",
  "editor.renderControlCharacters": true,
  "editor.detectIndentation": true,
  "editor.occurrencesHighlight": true,
  "editor.acceptSuggestionOnEnter": "smart",
  "editor.autoClosingBrackets": true,
  "editor.acceptSuggestionOnCommitCharacter": true,
  "editor.cursorBlinking": "blink",
  "editor.wrappingIndent": "same",
  // "http.proxyStrictSSL": true,

  // pdf only. Paper width, accepts values labeled with units(mm, cm, in, px). If it is set, it overrides the markdown-pdf.format option.
  "markdown-pdf.width": "",
  "python.jediEnabled": false,
  "java.home": "java.home":"C:\\Program Files\\Java\\JDK-11",
  "markdown-preview-enhanced.previewTheme": "one-dark.css",
  "markdown-preview-enhanced.revealjsTheme": "black.css",
  "markdown-preview-enhanced.printBackground": true,
  "r.rterm.windows": "C:\\Program Files\\R\\R-3.5.0\\bin\\x64\\R.exe",
  "java.errors.incompleteClasspath.severity": "ignore",
  "workbench.colorTheme": "One Dark Pro Vivid",
  "sync.gist": "60c9fd462ef31067f7c7c7dd1a89aafd",
  "sync.quietSync": false,
  "sync.removeExtensions": true,
  "sync.syncExtensions": true,
  "sync.autoDownload": false,
  "sync.autoUpload": false,
  "sync.forceDownload": false,
  // "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",
  //"terminal.integrated.shellArgs.windows": ["/K", "D:\\cmder\\vscode.bat"],
  // Command Prompt
  "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
  // PowerShell
  "terminal.integrated.shell.windows": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
  //wsl
  "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\wsl.exe",
  // Git Bash
  "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
  // Bash on Ubuntu (on Windows)
  "terminal.integrated.shell.windows": "C:\\Windows\\System32\\bash.exe",
  "files.autoSave": "afterDelay",
  "editor.renderWhitespace": "boundary",
  "editor.cursorStyle": "block-outline",
  "editor.wordWrapColumn": 120,
  "editor.parameterHints.cycle": true,
  "editor.showFoldingControls": "always",
  "editor.smoothScrolling": true,
  "editor.tabCompletion": "on",
  //https://code.visualstudio.com/docs/getstarted/theme-color-reference#_editor-colors
  /*
"editor.tokenColorCustomizations": {
  []
},
"workbench.colorCustomizations": {

},
*/
  "files.autoSaveDelay": 120000,
  "editor.formatOnType": true,
  "editor.formatOnSave": true,
  "editor.suggest.localityBonus": true,
  "files.trimFinalNewlines": true,
  "files.trimTrailingWhitespace": true,
  "[ahk]": {}
  //Wait to implement until fixed. Add commma above
  // "local-history.path": "C:\\Users\\s163837\\Documents\\.vsCodeHistory"
}
Workspace (Work)

Last Update, 12/10/18

{
  "folders": [
    {
      "path": "VS Code"
    }
  ],
  "settings": {
    //  "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"

    "terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\wsl.exe",
    "pasteImage.silence": true,
    "pasteImage.enableImgTag": true,
    "files.autoSave": "afterDelay",
    "files.autoSaveDelay": 120000,
    "files.hotExit": "onExitAndWindowClose",
    "editor.formatOnSave": true
    //"terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\bash.exe"
  }
}
Folder (VS Code) (Work)

Last Update 12-10-18

{
  //"python.pythonPath": "C:\\Python27\\python.exe"
  "python.pythonPath": "C:\\Windows\\py.exe",
  "code-runner.executorMap": {
    "javascript": "node",
    "java": "cd $dir && javac $fileName && java $fileNameWithoutExt",
    "c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
    "cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
    "objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
    "php": "php",
    "python": "python -u",
    "py3": "py -3 -c",
    "py2": "py -2 -c",
    "perl": "perl",
    "perl6": "perl6",
    "ruby": "ruby",
    "go": "go run",
    "lua": "lua",
    "groovy": "groovy",
    "powershell": "powershell -ExecutionPolicy ByPass -File",
    "bat": "cmd /c",
    "shellscript": "bash",
    "fsharp": "fsi",
    "csharp": "scriptcs",
    "vbscript": "cscript //Nologo",
    "typescript": "ts-node",
    "coffeescript": "coffee",
    "scala": "scala",
    "swift": "swift",
    "julia": "julia",
    "crystal": "crystal",
    "ocaml": "ocaml",
    "r": "Rscript",
    "applescript": "osascript",
    "clojure": "lein exec",
    "haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt",
    "rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt",
    "racket": "racket",
    "ahk": "autohotkey",
    "autoit": "autoit3",
    "dart": "dart",
    "pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
    "d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt",
    "haskell": "runhaskell",
    "nim": "nim compile --verbosity:0 --hints:off --run"
  }
}

Markdown

Manual and Notes

Link Example

Go To
Settings

Note - Case dosnt matter, can be Note note or NOTE after three ! (!!!). There can also be a space !!! Note or not !!!note or using any of the words below. The displayed word is replaced by the first word. To make it stay showing note, you have to say it twice. e.g. !!!Note Note

They can also be embedded within like this, but it seems like you have to use TAB.

Note

Summary Tldr Abstract

Todo | Info

Tip Hint

success | check | done

help | question | faq

warning | caution

Attention

failure | fail | missing

Danger

Error

Bug

example | snippet

Quote | cite

Putting a dash under a bullet makes it big

- Home PC has- - - WorkPC has-

List of packages by official name

I need a cohesive Markdown setup...

Perhaps I need to read the instructions on each...

Sources-

Markdown-it

Python Markdown

Instructions
Instructions using pandoc

mkdocs

Configurations

Markdown Header Coloring

go here- C:\Users\andyt\.vscode\extensions\satokaz.vscode-markdown-header-coloring-0.1.1
https://www.w3schools.com/colors/colors_names.asp
see readme.md

Use Color Highlight [code --install-extension naumovs.color-highlight]
and Color Picker [code --install-extension anseki.vscode-color]

Color Picker

Color Picker
anseki.vscode-color

requires node.js and NPM

History

Local History
xyz.local-history

"local-history.daysLimit": 30 // A day number to purge local history. (0: no purge)
"local-history.maxDisplay": 10 // A max files to display with local history commands
"local-history.saveDelay": 0 // A delay in seconds to save file in local history. {0: no delay}
"local-history.dateLocale": // The locale to use when displaying date (e.g.: "fr-CH" or "en-GB" or ...)

"local-history.path":     // Specify another location for .history folder (null: use workspaceFolder)
    This settings must be an abolute path. You can also start your path with:
    ${workspaceFolder}: current workspace folder
        e.g. ${workspaceFolder}/.vscode to save in each workspace folder .vscode/.history
    ${workspaceFolder: 0}: first workspace folder
        e.g. workspace folders A, B, C. But save always in A/.history
"local-history.absolute": // Save absolute or relative path in local-history.path
    true:  (absolute) // <local-history.path>/.history/<absolutePath>
    false: (relative) // (default) <local-history.path>/.history/<workspaceFolder.basename>/<relativePath>

"local-history.enabled":
    0: Never     // Possibillity to disabled the extension for some project
    1: Always    // (default) Save also single file with no workspaceFolder ("local-history.path" must be defined)
    2: Workspace // Save only files within workspaceFolder

"local-history.exclude": // Files or folders to not save
    // (default) ['**/.history/**', '**/.vscode**', '**/node_modules/**', '**/typings/**', '**/out/**']

"local-history.treeLocation": // Specify a location for tree view
    explorer (default): // Show tree in Explorer item
    localHistory:       // Show tree in a special active bar item

Commands

local-history.showAll // Show all history available to select (limited with maxDisplay settings)
local-history.showCurrent // Show current version (if history version is active)
local-history.compareToCurrent // compare current version with another version in history
local-history.compareToActive // compare active file with another version in history
local-history.compareToPrevious // compare a version in history with its previous version
Note

Proxy

check http_proxy and https_proxy is set.
Also check internet explorer values set.

npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080

Gen

Note

Replace with below as it allows pasting text too;
[Markdown Paste]
telesoho.vscode-markdown-paste-image

Note Using the following setup

Current List (working well!)

code --install-extension satokaz.vscode-markdown-header-coloring code --install-extension jebbs.markdown-extended code --install-extension davidanson.vscode-markdownlint code --install-extension yzhang.markdown-all-in-one code --install-extension mdickin.markdown-shortcuts code --install-extension ms-vscode.theme-markdownkit code --install-extension sakryukov.markdown-it-plugin-development-framework code --uninstall-extension tomashubelbauer.vscode-markdown-link-suggestions #Not working code --install-extension code --install-extension code --install-extension code --install-extension #Other extensions code --install-extension vsciot-vscode.vscode-arduino code --install-extension slevesque.vscode-autohotkey code --install-extension code --install-extension code --install-extension code --install-extension code --install-extension code --install-extension code --install-extension code --install-extension code --install-extension code --install-extension code --install-extension code --install-extension code --install-extension code --install-extension code --install-extension code --install-extension code --install-extension code --install-extension code --install-extension code --install-extension code --install-extension code --install-extension code --install-extension code --install-extension code --install-extension

Need to add back the following-

Suggested Additions

Old Settings: - code --install-extension [module] - davidanson.vscode-markdownlint - -!- mushan.vscode-paste-image - telesoho.vscode-markdown-paste-image - esbenp.prettier-vscode Prettier - Code formatter - satokaz.vscode-markdown-header-coloring #This extension decorates the Markdown header on the editor

Work Old Settings

Other previously used packages

-!- mushan.vscode-paste-image
telesoho.vscode-markdown-paste-image
esbenp.prettier-vscode Prettier - Code formatter
satokaz.vscode-markdown-header-
Paste Image
mushan.vscode-paste-image

Replace with below as it allows pasting text too;
Markdown Paste

telesoho.vscode-markdown-paste-image

Desired State

code --install-extension statiolake.vscode-markdown-run-snippet - satokaz.vscode-markdown-header-coloring - yzhang.markdown-all-in-one

Decorations and Aesthetics

Markdown Header Coloring -This extension decorates the Markdown header on the editor

Markdown Theme Kit -Theme Kit for VS Code optimized for Markdown. Based on the TextMate themes.

Remark - Beautify markdown code with Remark

Reflow Markdown Format lines in markdown headers, paragraphs, blockquotes, lists, etc. to a preferred line-length.

Prettier Now VS Code plugin for Prettier Miscellaneous / Code Formatter

Prettier - Code formatter VS Code plugin for prettier/prett ier

vscode-remark-lint - Use remark & retext to lint Markdown

Markdown+Math LaTeX Math for Markdown

Markdown Todo Manage todo lists inside markdown files with ease.

Color Highlight

Functionality

Markdown Extended
jebbs.markdown-extended
Markdownit not working

Markdown link extensions

Markdown preview enhanced Markdown Preview Enhanced ported to vscode

Live Code (Notebook Style)

Run Snippets in Markdown Run code block inside your markdown file

Markdown Script - A vscode extension to enhanced markdown code block

Markdown Navigation Auto genreate markdown navigation panel to the activity bar.

Code Runner - Run code snippet or code file for multiple languages: C, C++, Java, JavaScript, PHP, Python, Perl, Perl 6, Ruby, Go, Lua, Groovy, PowerShell, BAT/CMD, BASH/SH, F# Script, F# (.NET Core), C# Script, C# (.NET Core), VBScript, TypeScript, CoffeeScript, Scala, Swift, Julia, Crystal, OCaml Script, R, AppleScript, Elixir, Visual Basic .NET, Clojure, Haxe, Objective-C, Rust, Racket, AutoHotkey, AutoIt, Kotlin, Dart, Free Pascal, Haskell, Nim, D, and custom command

Markdown Shortcuts Shortcuts for Markdown editing

Requires these Settings:

    "markdownShortcuts.bullets.marker": "-",
    "markdownShortcuts.italics.marker": "*"

Markdown TOC -Markdown TOC(Table Of Contents) Plugin for Visual Studio Code.

Additional Functions

Markdown Checkbox -With this extension you can create checkboxes in markdown and mark them quickly.

Draw Diagrams

yUML - UML diagramming tool based on the yUML syntax

Markdown Table Prettifier-Transforms markdown tables to be more readable.

Auto-Open Markdown Preview Open Markdown preview automatically when opening a Markdown file

Badgen - Snippets to quickly insert Badgen badges into Markdown documents

> cd %USERPROFILE%\.vscode\extensions $ cd ~/.vscode/extensions/ Clone repository as badgen: $ git clone https://github.com/idleberg/vscode-badgen badgen cd ~ mkdir .vscode cd .vscode mkdir extensions cd extensions git clone https://github.com/idleberg/vscode-badgen badgen

Rendering and Viewing

vscode-pandoc Renders markdown through pandoc

Probably need to pick apart this
VS COde Docs

vscode-markdownlint - Markdown linting and style checking for Visual Studio Code

Prettier - Code formatter
esbenp.prettier-vscode

Images

One of these was better than the rest. I need to do testing here.

markdown image paste update tiny the picture, upload to github, and feedback you a link when paste a picture to markdown file (Translation, takes the picture, uploads the picture with a service called tinypng, then uploads it to github, and returns a web link)

Markdown Paste A smartly paste for markdown.

Paste Image -paste image from clipboard directly

code --install-extension njleonzhang.markdown-image-paste npm install -g electron-image-ipc-server eiis # Needs to be run each time?

You can start the electron ipc server manually by command eiis

Markdown Imsize Support -Adds size-specified image syntax support to VS Code's builtin markdown preview

Packs

Markdown Extension Pack

Markdown All in One All you need to write Markdown (keyboard shortcuts, table of contents, auto preview and more)

Additional

Copy Markdown as HTML- Copies the selected text from a markdown document to the clipboard as HTML.

Other Sources:

[Using]
Markdown Preview Enhanced with litvis
gicentre.markdown-preview-enhanced-with-litvis
giCentre574RepositoryLicense
Fork of markdown-preview-enhanced with added http://livis.org

Trying Markdown Preview Enhanced with Litvis
which also works with Prettier

Has these instructions

Setup for VSCode users

Via VSCode’s GUI

Click on the extensions icon in the left panel, search for Markdown Preview Enhanced with litvis and click install.

If you are using Markdown Preview Enhanced extension (from which this project was forked), temporary uninstall or disable it while you are trying out litvis.

Via command line

code --install-extension gicentre.markdown-preview-enhanced-with-litvis

code --uninstall-extension shd101wyy.markdown-preview-enhanced
VSCode does not support --disable-extension command, so if you want disable shd101wyy.markdown-preview-enhanced instead of uninstalling it, please do this via the app’s GUI.

Getting started with litvis narratives

Literate visualization uses Elm and Vega-Lite in the form of a declarative visualization language elm-vega. While you don't have to use elm-vega in a litvis document it does enable quick declarative generation of interactive data graphics and therefore considerably enhances the capability of a litvis document.

Creating your own litvis narrative is as easy as writing a markdown file. You can start with exploring the examples available at https://github.com/gicentre/litvis/tree/master/examples.

Formatting litvis narratives

It is possible to automatically format litvis-enabled markdown files including embedded Elm code blocks with Prettier, which is an opinionated code formatting tool.

Prettier is available in VSCode via prettier-vscode extension, but it does not format literate Elm code blocks in markdown files out of the box.

Please follow these steps to enable full-featured formatting support for litvis in VSCode:

Install esbenp.prettier-vscode package via VSCode’s Extensions panel or from a command line:

code --install-extension esbenp.prettier-vscode
Locally install Prettier and its Elm plugin via npm:

npm init --yes
npm install github:kachkaev/prettier#fix-global-plugin-api-dist prettier-plugin-elm
Having a globally installed Prettier would be more convenient, but it is not supported by the VSCode extension yet.

Installing from github:kachkaev/prettier#... instead of just prettier is necessary until prettier/prettier#4192 is merged.

1) (optional) Configure Prettier by creating .prettierrc with the following yaml:

```yaml
overrides:
- files: "*.md"
options:
    tabWidth: 4
```

Doing this via bash:

```bash

c

```

This will indent bullet point lists in markdowns with four spaces instead of two.

This works

Error is in Markdown extended
Nothing but admonition works

Markdown Linting

Cycle through errors with F8 and shift F8

Rules

MD001 heading-increment/header-increment - Heading levels should only increment by one level at a time
MD002 first-heading-h1/first-header-h1 - First heading should be a top level heading
MD003 heading-style/header-style - Heading style
MD004 ul-style - Unordered list style
MD005 list-indent - Inconsistent indentation for list items at the same level
MD006 ul-start-left - Consider starting bulleted lists at the beginning of the line
MD007 ul-indent - Unordered list indentation
MD009 no-trailing-spaces - Trailing spaces

MD010 no-hard-tabs - Hard tabs

MD011 no-reversed-links - Reversed link syntax
MD012 no-multiple-blanks - Multiple consecutive blank lines
MD013 line-length - Line length
MD014 commands-show-output - Dollar signs used before commands without showing output
MD018 no-missing-space-atx - No space after hash on atx style heading

MD019 no-multiple-space-atx - Multiple spaces after hash on atx style heading

MD020 no-missing-space-closed-atx - No space inside hashes on closed atx style heading

MD021 no-multiple-space-closed-atx - Multiple spaces inside hashes on closed atx style heading
MD022 blanks-around-headings/blanks-around-headers - Headings should be surrounded by blank lines
MD023 heading-start-left/header-start-left - Headings must start at the beginning of the line
MD024 no-duplicate-heading/no-duplicate-header - Multiple headings with the same content
MD025 single-h1 - Multiple top level headings in the same document
MD026 no-trailing-punctuation - Trailing punctuation in heading
MD027 no-multiple-space-blockquote - Multiple spaces after blockquote symbol

MD028 no-blanks-blockquote - Blank line inside blockquote
MD029 ol-prefix - Ordered list item prefix
MD030 list-marker-space - Spaces after list markers
MD031 blanks-around-fences - Fenced code blocks should be surrounded by blank lines
MD032 blanks-around-lists - Lists should be surrounded by blank lines
MD033 no-inline-html - Inline HTML
MD034 no-bare-urls - Bare URL used
MD035 hr-style - Horizontal rule style
MD036 no-emphasis-as-heading/no-emphasis-as-header - Emphasis used instead of a heading
MD037 no-space-in-emphasis - Spaces inside emphasis markers

MD038 no-space-in-code - Spaces inside code span elements

MD039 no-space-in-links - Spaces inside link text
MD040 fenced-code-language - Fenced code blocks should have a language specified
MD041 first-line-h1 - First line in file should be a top level heading
MD042 no-empty-links - No empty links
MD043 required-headings/required-headers - Required heading structure
MD044 proper-names - Proper names should have the correct capitalization
MD045 no-alt-text - Images should have alternate text (alt text)
See markdownlint's Rules.md (See link below) file for more details.

Rules.md

The bolded rules above can be automatically fixed by moving the cursor to a rule violation (green underlined text) and typing Ctrl+. or clicking the light bulb icon.

Customization

Rules can be enabled, disabled, and customized by creating a JSON file named .markdownlint.json or a YAML file named .markdownlint.yaml in any directory of a project. The rules defined by .markdownlint.{json,yaml} apply to Markdown files in the same directory and any sub-directories without their own .markdownlint.{json,yaml}.

Note: .markdownlint.{json,yaml} is used only if a project has been opened. When no folder is open or a file is not part of the current project, normal user and workspace settings apply (see below). If both .markdownlint.json and .markdownlint.yaml are present in the same directory, only .markdownlint.json is used.

Rule Definitions

A custom configuration is often defined by a .markdownlint.json file in the root of the project:

{
"default": true,
"MD003": { "style": "atx_closed" },
"MD007": { "indent": 4 },
"no-hard-tabs": false
}
To extend another configuration file, any configuration file can use the extends property to provide a relative path:

{
"extends": "../.markdownlint.json",
"no-hard-tabs": true
}
Files referenced via extends do not need to be part of the current project (but usually are).

Rules can also be configured using Code's support for user and workspace settings.

The earlier configuration might look like the following in Code's user settings:

{
"editor.someSetting": true,
"markdownlint.config": {
"default": true,
"MD003": { "style": "atx_closed" },
"MD007": { "indent": 4 },
"no-hard-tabs": false
}
}
Rule locations have the following precedence (in decreasing order):

.markdownlint.{json,yaml} file in the same directory
.markdownlint.{json,yaml} file in a parent directory
.markdownlint.{json,yaml} file in the root of the project
Visual Studio Code user/workspace settings
Default configuration (see above)
Changes saved to any of these locations take effect immediately. Files referenced via extends are not monitored for changes. Only the bottom two locations apply to files outside the project.

See markdownlint's options.config section for more information about rule configuration.

markdownlint.ignore

If a workspace contains generated content or other Markdown files that trigger warnings but cannot be fixed, it may be helpful to ignore (skip) those files when linting. This can be done by updating the user/workspace configuration with a glob expression matching the relevant file names.

An example from Code's workspace settings might be:

{
"editor.someSetting": true,
"markdownlint.ignore": [

"ignore.md",

"directory/ignore.md",

"**/ignore.md",

"*/.md"

]
}
The globbing library used for matching file names is minimatch with the dot and nocomment options enabled. Matching is case-sensitive and paths are resolved relative to the root of the workspace. The directory separator is /, even on Windows.

markdownlint.run

By default, linting is performed as you type or edit a document. Linting is fast and efficient and should not interfere with typical workflows.

If you find this distracting, linting can be configured to run only when the document is saved. This looks like the following in Code's user settings:

{
"editor.someSetting": true,
"markdownlint.run": "onSave"
}

Other errors

Proxy and Download or Connection errors

Cneck to see if proxy is used and user vs work settings

    //anywhere but work
    "http.proxy": "",
    //work
    //"http.proxy": "https://swmed.proxy.edu:3128",
   // "https.proxy": "https://swmed.proxy.edu:3128",

Classpass is Incomplete Error

Check the settings.json java.home variable. I think its sharing settings and one computer has JDK 8 161 still.

        // On Windows, backslashes must be escaped, i.e.
        // "java.home":"C:\\Program Files\\Java\\jdk1.8.0_161"
        "java.home": null
//Changed To
 "java.home": "C:\\Program Files\\Java\\jdk-10",

Also the Java_Home Var.

VS Code Docs

Prettier Configuration

requires: .prettierrc.json file.
Remark GitHub

GitHub GIST ID for Settings Sync

60c9fd462ef31067f7c7c7dd1a89aafd

Personal Access Token on GitHub

e253b1882c10bb5edea7dd8b91a26b8c9d47c33a

Currently Using Remark

Error NPM ": not foundram Files/nodejs/npm:"

Need node.js, and npm

I get this error at work. Its because if a Windows and WSL installation side by side I think and they are competing.

: not foundram Files/nodejs/npm: 3: /mnt/c/Program Files/nodejs/npm: : not foundram Files/nodejs/npm: 5: /mnt/c/Program Files/nodejs/npm: /mnt/c/Program Files/nodejs/npm: 6: /mnt/c/Program Files/nodejs/npm: Syntax error: word unexpected (expecting "in")

To fix, used RapidEE and from path (User and System) had to remove:

C:\Program Files\nodejs\

C:\Users\s163837\AppData\Roaming\npm

and it worked again

(install WSL Windows linux subsystem)
Then Run: from bash:

sudo apt-get install node.js

sudo apt-get install npm

npm install --save unified prettier remark-frontmatter remark-retext retext-english retext-syntax-urls retext-spell dictionary-en-us retext-sentence-spacing retext-repeated-words retext-usage remark-preset-lint-consistent remark-preset-lint-recommended remark-preset-lint-markdown-style-guide remark-collapse

//npm install --save prettier remark-collapse

This apparently really should be run from within vscode! in the right directory.

Andy@VM-DEVENV : C:\ASUSsync\VS Code : 10/7/2018 10:41:44 PM : PS>npm install --save unified remark-frontmatter remark-retext retext-english retext-syntax-urls retext-spell dictionary-en-us retext-sentence-spacing retext-repeated-words retext-usage remark-preset-lint-consistent remark-preset-lint-recommended remark-preset-lint-markdown-style-guide prettier remark-collapse  remark-cli remark-preset-lint-markdown-style-guide
#??? --global flag?
# remark-cli
Extensions:

#yields:
npm http GET https://registry.npmjs.org/copy-descriptor
npm http GET https://registry.npmjs.org/isobject
npm http 304 https://registry.npmjs.org/copy-descriptor
npm http 304 https://registry.npmjs.org/isobject
npm http GET https://registry.npmjs.org/extend-shallow
npm http 304 https://registry.npmjs.org/extend-shallow
npm http GET https://registry.npmjs.org/co
npm http GET https://registry.npmjs.org/sliced
npm http 304 https://registry.npmjs.org/co
npm http 304 https://registry.npmjs.org/sliced
npm http GET https://registry.npmjs.org/sprintf-js
npm http 304 https://registry.npmjs.org/sprintf-js
npm http GET https://registry.npmjs.org/unist-util-visit-parents
npm http GET https://registry.npmjs.org/unist-util-is
npm http 304 https://registry.npmjs.org/unist-util-visit-parents
npm http 304 https://registry.npmjs.org/unist-util-is
npm http GET https://registry.npmjs.org/isarray
npm http 304 https://registry.npmjs.org/isarray
npm http GET https://registry.npmjs.org/assign-symbols
npm http 304 https://registry.npmjs.org/assign-symbols
npm http GET https://registry.npmjs.org/wrapped
npm http 304 https://registry.npmjs.org/wrapped
npm http GET https://registry.npmjs.org/is-buffer
npm http 304 https://registry.npmjs.org/is-buffer
npm http GET https://registry.npmjs.org/co
npm http GET https://registry.npmjs.org/sliced
npm http GET https://registry.npmjs.org/unist-util-visit-parents
npm http 304 https://registry.npmjs.org/sliced
npm http 304 https://registry.npmjs.org/co
npm http 304 https://registry.npmjs.org/unist-util-visit-parents
npm http GET https://registry.npmjs.org/unist-util-is
npm http 304 https://registry.npmjs.org/unist-util-is
npm http GET https://registry.npmjs.org/wrapped
npm http 304 https://registry.npmjs.org/wrapped
npm http GET https://registry.npmjs.org/co
npm http GET https://registry.npmjs.org/sliced
npm http GET https://registry.npmjs.org/unist-util-visit-parents
npm http 304 https://registry.npmjs.org/sliced
npm http 304 https://registry.npmjs.org/co
npm http 304 https://registry.npmjs.org/unist-util-visit-parents
npm http GET https://registry.npmjs.org/unist-util-is
npm http 304 https://registry.npmjs.org/unist-util-is
dictionary-en-us@2.0.0 node_modules\dictionary-en-us

remark-collapse@0.1.2 node_modules\remark-collapse
├── mdast-util-heading-range@2.1.0
└── mdast-util-to-string@1.0.5

retext-sentence-spacing@2.0.1 node_modules\retext-sentence-spacing
├── nlcst-to-string@2.0.2
├── unist-util-is@2.1.2
├── unist-util-visit@1.4.0 (unist-util-visit-parents@2.0.1)
└── plur@2.1.2 (irregular-plurals@1.4.0)

retext-syntax-urls@1.0.0 node_modules\retext-syntax-urls
├── unist-util-position@3.0.1
├── nlcst-to-string@2.0.2
└── unist-util-modify-children@1.1.2 (array-iterate@1.1.2)

unified@7.0.0 node_modules\unified
├── bail@1.0.3
├── is-plain-obj@1.1.0
├── trough@1.0.3
├── x-is-string@0.1.0
├── extend@3.0.2
└── vfile@3.0.0 (replace-ext@1.0.0, is-buffer@2.0.3, vfile-message@1.0.1, unist-util-stringify-position@1.1.2)

retext-repeated-words@1.2.1 node_modules\retext-repeated-words
├── unist-util-is@2.1.2
├── unist-util-visit@1.4.0 (unist-util-visit-parents@2.0.1)
└── nlcst-to-string@2.0.2

remark-frontmatter@1.3.0 node_modules\remark-frontmatter
├── xtend@4.0.1
└── fault@1.0.2 (format@0.2.2)

retext-spell@2.3.1 node_modules\retext-spell
├── lodash.includes@4.3.0
├── quotation@1.1.1
├── nlcst-is-literal@1.1.2
├── nlcst-to-string@2.0.2
├── unist-util-visit@1.4.0 (unist-util-visit-parents@2.0.1)
└── nspell@1.0.5 (is-buffer@1.1.6, trim@0.0.1)

retext-english@3.0.0 node_modules\retext-english
├── unherit@1.1.1 (inherits@2.0.3, xtend@4.0.1)
└── parse-english@4.1.1 (nlcst-to-string@2.0.2, unist-util-visit-children@1.1.2, unist-util-modify-children@1.1.2, parse-latin@4.1.1)

remark-retext@3.1.1 node_modules\remark-retext
└── mdast-util-to-nlcst@3.2.0 (unist-util-position@3.0.1, repeat-string@1.6.1, vfile-location@2.0.3, nlcst-to-string@2.0.2)

retext-usage@0.5.0 node_modules\retext-usage
├── array-differ@1.0.0
├── nlcst-to-string@1.1.0
├── quotation@1.1.1
├── object-keys@1.0.12
└── nlcst-search@1.5.0 (nlcst-normalize@2.1.2, unist-util-visit@1.4.0, nlcst-is-literal@1.1.2)

prettier@1.14.3 node_modules\prettier

remark-cli@5.0.0 node_modules\remark-cli
├── markdown-extensions@1.1.1
├── unified-args@5.1.0 (camelcase@4.1.0, json5@0.5.1, text-table@0.2.0, minimist@1.2.0, chalk@2.4.1, unified-engine@5.1.0, chokidar@1.7.0)
└── remark@9.0.0 (unified@6.2.0, remark-parse@5.0.0, remark-stringify@5.0.0)

remark-preset-lint-recommended@3.0.2 node_modules\remark-preset-lint-recommended
├── remark-lint@6.0.2 (remark-message-control@4.1.0)
├── remark-lint-no-shortcut-reference-link@1.0.3 (unist-util-generated@1.1.2, unist-util-visit@1.4.0, unified-lint-rule@1.0.3)
├── remark-lint-no-auto-link-without-protocol@1.0.2 (mdast-util-to-string@1.0.5, unist-util-position@3.0.1, unist-util-generated@1.1.2, unified-lint-rule@1.0.3, unist-util-visit@1.4.0)
├── remark-lint-no-blockquote-without-marker@2.0.2 (vfile-location@2.0.3, unist-util-position@3.0.1, unist-util-visit@1.4.0, unified-lint-rule@1.0.3, unist-util-generated@1.1.2)
├── remark-lint-ordered-list-marker-style@1.0.2 (unist-util-position@3.0.1, unist-util-generated@1.1.2, unified-lint-rule@1.0.3, unist-util-visit@1.4.0)
├── remark-lint-no-literal-urls@1.0.2 (mdast-util-to-string@1.0.5, unist-util-position@3.0.1, unist-util-visit@1.4.0, unified-lint-rule@1.0.3, unist-util-generated@1.1.2)
├── remark-lint-final-newline@1.0.2 (unified-lint-rule@1.0.3)
├── remark-lint-no-undefined-references@1.0.2 (unist-util-generated@1.1.2, unified-lint-rule@1.0.3, unist-util-visit@1.4.0)
├── remark-lint-no-inline-padding@1.0.2 (mdast-util-to-string@1.0.5, unist-util-generated@1.1.2, unified-lint-rule@1.0.3, unist-util-visit@1.4.0)
├── remark-lint-no-unused-definitions@1.0.2 (unified-lint-rule@1.0.3, unist-util-generated@1.1.2, unist-util-visit@1.4.0)
├── remark-lint-no-shortcut-reference-image@1.0.2 (unist-util-generated@1.1.2, unified-lint-rule@1.0.3, unist-util-visit@1.4.0)
├── remark-lint-list-item-indent@1.0.2 (plur@3.0.1, unist-util-position@3.0.1, unist-util-generated@1.1.2, unist-util-visit@1.4.0, unified-lint-rule@1.0.3)
├── remark-lint-list-item-bullet-indent@1.0.2 (plur@3.0.1, unist-util-position@3.0.1, unist-util-generated@1.1.2, unified-lint-rule@1.0.3, unist-util-visit@1.4.0)
├── remark-lint-hard-break-spaces@1.0.3 (unist-util-position@3.0.1, unist-util-generated@1.1.2, unist-util-visit@1.4.0, unified-lint-rule@1.0.3)
├── remark-lint-no-duplicate-definitions@1.0.2 (unist-util-stringify-position@1.1.2, unist-util-position@3.0.1, unist-util-visit@1.4.0, unist-util-generated@1.1.2, unified-lint-rule@1.0.3)
└── remark-lint-no-heading-content-indent@1.0.2 (mdast-util-heading-style@1.0.4, plur@3.0.1, unist-util-position@3.0.1, unist-util-generated@1.1.2, unist-util-visit@1.4.0, unified-lint-rule@1.0.3)

remark-preset-lint-consistent@2.0.2 node_modules\remark-preset-lint-consistent
├── remark-lint@6.0.2 (remark-message-control@4.1.0)
├── remark-lint-strong-marker@1.0.2 (unist-util-position@3.0.1, unist-util-generated@1.1.2, unist-util-visit@1.4.0, unified-lint-rule@1.0.3)
├── remark-lint-heading-style@1.0.2 (mdast-util-heading-style@1.0.4, unist-util-generated@1.1.2, unist-util-visit@1.4.0, unified-lint-rule@1.0.3)
├── remark-lint-code-block-style@1.0.2 (unist-util-visit@1.4.0, unist-util-generated@1.1.2, unist-util-position@3.0.1, unified-lint-rule@1.0.3)
├── remark-lint-link-title-style@1.0.2 (vfile-location@2.0.3, unist-util-visit@1.4.0, unist-util-position@3.0.1, unified-lint-rule@1.0.3, unist-util-generated@1.1.2)
├── remark-lint-checkbox-character-style@1.0.2 (vfile-location@2.0.3, unist-util-visit@1.4.0, unist-util-generated@1.1.2, unified-lint-rule@1.0.3, unist-util-position@3.0.1)
├── remark-lint-emphasis-marker@1.0.2 (unified-lint-rule@1.0.3, unist-util-position@3.0.1, unist-util-generated@1.1.2, unist-util-visit@1.4.0)
├── remark-lint-blockquote-indentation@1.0.2 (mdast-util-to-string@1.0.5, plur@3.0.1, unist-util-visit@1.4.0, unified-lint-rule@1.0.3, unist-util-position@3.0.1, unist-util-generated@1.1.2)
├── remark-lint-ordered-list-marker-style@1.0.2 (unist-util-visit@1.4.0, unist-util-position@3.0.1, unified-lint-rule@1.0.3, unist-util-generated@1.1.2)
├── remark-lint-list-item-content-indent@1.0.2 (plur@3.0.1, unist-util-visit@1.4.0, unist-util-position@3.0.1, unist-util-generated@1.1.2, unified-lint-rule@1.0.3)
├── remark-lint-rule-style@1.0.2 (unist-util-position@3.0.1, unist-util-visit@1.4.0, unist-util-generated@1.1.2, unified-lint-rule@1.0.3)
├── remark-lint-fenced-code-marker@1.0.2 (unist-util-generated@1.1.2, unified-lint-rule@1.0.3, unist-util-position@3.0.1, unist-util-visit@1.4.0)
└── remark-lint-table-cell-padding@1.0.2 (unist-util-visit@1.4.0, unist-util-position@3.0.1, unist-util-generated@1.1.2, unified-lint-rule@1.0.3)

remark-preset-lint-markdown-style-guide@2.1.2 node_modules\remark-preset-lint-markdown-style-guide
├── remark-lint@6.0.2 (remark-message-control@4.1.0)
├── remark-lint-no-file-name-consecutive-dashes@1.0.2 (unified-lint-rule@1.0.3)
├── remark-lint-no-file-name-outer-dashes@1.0.3 (unified-lint-rule@1.0.3)
├── remark-lint-heading-increment@1.0.2 (unist-util-visit@1.4.0, unified-lint-rule@1.0.3, unist-util-generated@1.1.2)
├── remark-lint-no-file-name-articles@1.0.2 (unified-lint-rule@1.0.3)
├── remark-lint-link-title-style@1.0.2 (vfile-location@2.0.3, unist-util-visit@1.4.0, unist-util-position@3.0.1, unist-util-generated@1.1.2, unified-lint-rule@1.0.3)
├── remark-lint-table-pipe-alignment@1.0.2 (unist-util-visit@1.4.0, unist-util-generated@1.1.2, unified-lint-rule@1.0.3, unist-util-position@3.0.1)
├── remark-lint-no-duplicate-headings@1.0.2 (unist-util-stringify-position@1.1.2, mdast-util-to-string@1.0.5, unist-util-visit@1.4.0, unist-util-generated@1.1.2, unist-util-position@3.0.1, unified-lint-rule@1.0.3)
├── remark-lint-hard-break-spaces@1.0.3 (unist-util-position@3.0.1, unified-lint-rule@1.0.3, unist-util-generated@1.1.2, unist-util-visit@1.4.0)
├── remark-lint-table-pipes@1.0.2 (unist-util-generated@1.1.2, unified-lint-rule@1.0.3, unist-util-visit@1.4.0, unist-util-position@3.0.1)
├── remark-lint-no-heading-punctuation@1.0.2 (mdast-util-to-string@1.0.5, unified-lint-rule@1.0.3, unist-util-generated@1.1.2, unist-util-visit@1.4.0)
├── remark-lint-maximum-line-length@1.1.0 (unist-util-position@3.0.1, unist-util-generated@1.1.2, unist-util-visit@1.4.0, unified-lint-rule@1.0.3)
├── remark-lint-heading-style@1.0.2 (mdast-util-heading-style@1.0.4, unified-lint-rule@1.0.3, unist-util-visit@1.4.0, unist-util-generated@1.1.2)
├── remark-lint-no-shell-dollars@1.0.2 (unist-util-visit@1.4.0, unist-util-generated@1.1.2, unified-lint-rule@1.0.3)
├── remark-lint-ordered-list-marker-value@1.0.2 (unist-util-position@3.0.1, unified-lint-rule@1.0.3, unist-util-generated@1.1.2, unist-util-visit@1.4.0)
├── remark-lint-no-blockquote-without-marker@2.0.2 (vfile-location@2.0.3, unist-util-visit@1.4.0, unist-util-position@3.0.1, unified-lint-rule@1.0.3, unist-util-generated@1.1.2)
├── remark-lint-unordered-list-marker-style@1.0.2 (unified-lint-rule@1.0.3, unist-util-position@3.0.1, unist-util-visit@1.4.0, unist-util-generated@1.1.2)
├── remark-lint-rule-style@1.0.2 (unist-util-generated@1.1.2, unist-util-position@3.0.1, unist-util-visit@1.4.0, unified-lint-rule@1.0.3)
├── remark-lint-file-extension@1.0.2 (unified-lint-rule@1.0.3)
├── remark-lint-no-emphasis-as-heading@1.0.2 (unist-util-visit@1.4.0, unified-lint-rule@1.0.3, unist-util-generated@1.1.2)
├── remark-lint-fenced-code-marker@1.0.2 (unist-util-generated@1.1.2, unist-util-position@3.0.1, unist-util-visit@1.4.0, unified-lint-rule@1.0.3)
├── remark-lint-strong-marker@1.0.2 (unified-lint-rule@1.0.3, unist-util-position@3.0.1, unist-util-generated@1.1.2, unist-util-visit@1.4.0)
├── remark-lint-final-definition@1.0.2 (unist-util-position@3.0.1, unist-util-generated@1.1.2, unist-util-visit@1.4.0, unified-lint-rule@1.0.3)
├── remark-lint-maximum-heading-length@1.0.2 (mdast-util-to-string@1.0.5, unist-util-generated@1.1.2, unist-util-visit@1.4.0, unified-lint-rule@1.0.3)
├── remark-lint-no-multiple-toplevel-headings@1.0.2 (unist-util-stringify-position@1.1.2, unified-lint-rule@1.0.3, unist-util-position@3.0.1, unist-util-visit@1.4.0, unist-util-generated@1.1.2)
├── remark-lint-no-auto-link-without-protocol@1.0.2 (mdast-util-to-string@1.0.5, unified-lint-rule@1.0.3, unist-util-generated@1.1.2, unist-util-position@3.0.1, unist-util-visit@1.4.0)
├── remark-lint-no-shortcut-reference-link@1.0.3 (unist-util-generated@1.1.2, unist-util-visit@1.4.0, unified-lint-rule@1.0.3)
├── remark-lint-no-shortcut-reference-image@1.0.2 (unist-util-generated@1.1.2, unist-util-visit@1.4.0, unified-lint-rule@1.0.3)
├── remark-lint-fenced-code-flag@1.0.2 (unist-util-position@3.0.1, unist-util-generated@1.1.2, unified-lint-rule@1.0.3, unist-util-visit@1.4.0)
├── remark-lint-list-item-content-indent@1.0.2 (plur@3.0.1, unist-util-generated@1.1.2, unist-util-position@3.0.1, unified-lint-rule@1.0.3, unist-util-visit@1.4.0)
├── remark-lint-table-cell-padding@1.0.2 (unist-util-generated@1.1.2, unist-util-position@3.0.1, unified-lint-rule@1.0.3, unist-util-visit@1.4.0)
├── remark-lint-definition-spacing@1.0.2 (unist-util-position@3.0.1, unist-util-visit@1.4.0, unist-util-generated@1.1.2, unified-lint-rule@1.0.3)
├── remark-lint-list-item-indent@1.0.2 (plur@3.0.1, unist-util-position@3.0.1, unist-util-generated@1.1.2, unist-util-visit@1.4.0, unified-lint-rule@1.0.3)
├── remark-lint-code-block-style@1.0.2 (unist-util-position@3.0.1, unist-util-generated@1.1.2, unified-lint-rule@1.0.3, unist-util-visit@1.4.0)
├── remark-lint-blockquote-indentation@1.0.2 (mdast-util-to-string@1.0.5, plur@3.0.1, unified-lint-rule@1.0.3, unist-util-position@3.0.1, unist-util-generated@1.1.2, unist-util-visit@1.4.0)
├── remark-lint-emphasis-marker@1.0.2 (unist-util-position@3.0.1, unist-util-visit@1.4.0, unist-util-generated@1.1.2, unified-lint-rule@1.0.3)
├── remark-lint-no-table-indentation@1.0.2 (unist-util-position@3.0.1, unist-util-generated@1.1.2, unist-util-visit@1.4.0, unified-lint-rule@1.0.3)
├── remark-lint-no-inline-padding@1.0.2 (mdast-util-to-string@1.0.5, unist-util-generated@1.1.2, unist-util-visit@1.4.0, unified-lint-rule@1.0.3)
├── remark-lint-no-literal-urls@1.0.2 (mdast-util-to-string@1.0.5, unified-lint-rule@1.0.3, unist-util-generated@1.1.2, unist-util-position@3.0.1, unist-util-visit@1.4.0)
├── remark-lint-no-file-name-mixed-case@1.0.2 (unified-lint-rule@1.0.3)
├── remark-lint-definition-case@1.0.2 (unist-util-position@3.0.1, unified-lint-rule@1.0.3, unist-util-generated@1.1.2, unist-util-visit@1.4.0)
├── remark-lint-ordered-list-marker-style@1.0.2 (unist-util-generated@1.1.2, unist-util-visit@1.4.0, unist-util-position@3.0.1, unified-lint-rule@1.0.3)
├── remark-lint-no-file-name-irregular-characters@1.0.2 (unified-lint-rule@1.0.3)
├── remark-lint-no-consecutive-blank-lines@1.0.2 (plur@3.0.1, unist-util-visit@1.4.0, unist-util-position@3.0.1, unist-util-generated@1.1.2, unified-lint-rule@1.0.3)
└── remark-lint-list-item-spacing@1.1.2 (unist-util-position@3.0.1, unist-util-visit@1.4.0, unist-util-generated@1.1.2, unified-lint-rule@1.0.3)
Andy@VM-DEVENV : C:\ASUSsync\VS Code : 10/7/2018 10:47:32 PM : PS>

MaxLint

MaxLint | yaksoy.maxlint | Fix errors from ESLint

requires

Java Extension Pack | vscjava.vscode-java-pack

Atom One Dark Theme | akamud.vscode-theme-onedark

One Dark Pro | zhuangtongfa.material-theme

Auto-Open Markdon Preview | hnw.vscode-auto-open-markdown-preview

Code Runner | formulahendry.code-runner

Markdown Checkbox | pkief.markdown-checkbox

Markdown Emoji | bierner.markdown-emoji

Markdown Extension Pack*| bat67.markdown-extension-pack

Markdown Header Coloring | satokaz.vscode-markdown-header-coloring

Auto Close Tag
formulahendry.auto-close-tag
Auto-Open Markdown Preview
hnw.vscode-auto-open-markdown-preview
Markdown Header Coloring
satokaz.vscode-markdown-header-coloring

By installing Java Extension Pack, the following extensions are installed:

code --install-extension akamud.vscode-theme-onedark code --install-extension AlanWalk.markdown-navigation code --install-extension AlanWalk.markdown-toc code --install-extension bat67.markdown-extension-pack code --install-extension bierner.markdown-emoji code --install-extension darkriszty.markdown-table-prettify code --install-extension DavidAnson.vscode-markdownlint code --install-extension drewbourne.vscode-remark-lint code --install-extension esbenp.prettier-vscode code --install-extension fabiospampinato.vscode-markdown-todo code --install-extension formulahendry.code-runner code --install-extension goessner.mdmath code --install-extension hnw.vscode-auto-open-markdown-preview code --install-extension jasonroger.markdown-preview-enhanced-fork code --install-extension johnpapa.winteriscoming code --install-extension josefpihrt-vscode.snippetica-markdown code --install-extension joshbax.mdhelper code --install-extension marvhen.reflow-markdown code --install-extension mrmlnc.vscode-remark code --install-extension ms-python.python code --install-extension ms-vscode.PowerShell code --install-extension ms-vsliveshare.vsliveshare code --install-extension nicollasricas.vscode-witcherscript code --install-extension nicollasricas.vscode-witcherscript-addon code --install-extension njLeonZhang.markdown-image-paste code --install-extension PKief.markdown-checkbox code --install-extension redhat.java code --install-extension remimarsal.prettier-now code --install-extension satokaz.vscode-markdown-header-coloring code --install-extension shd101wyy.markdown-preview-enhanced code --install-extension statiolake.vscode-markdown-run-snippet code --install-extension TomasHubelbauer.vscode-markdown-link-suggestions code --install-extension vscjava.vscode-java-debug code --install-extension vscjava.vscode-java-pack code --install-extension vscjava.vscode-java-test code --install-extension vscjava.vscode-maven code --install-extension yzane.markdown-pdf code --install-extension yzhang.markdown-all-in-one code --install-extension zhuangtongfa.Material-theme

Setup

xargs isnt working on this pc for some reason -Dev

Try

code --list-extensions > extensions-[compName].list foreach($line in get-content extensions.list) {code --install-extension $($line)}

add :
code --list-extensions > extensions-WorkComputer.list
foreach(line in get-content extensions.list) {code --install-extension($line)}

code --install-extension jsaulou.theme-by-language tomashubelbauer.vscode-markdown-link-suggestions

Other Extensions

For Batch, cmd and other linting I've been using batch format zhaofinger.batch-format but there ought to be something better.

From work -
coenraads.bracket-pair-colorizer
alefragnani.bookmarks
shan.code-settings-sync
jsaulou.theme-by-language
tyriar.shell-launcher

Bookmarks alefragnani.bookmarks
Bracket Pair Colorizer coenraads.bracket-pair-colorizer
C/C++ ms-vscode.cpptools
Code Runner formulahendry.code-runner
Rainbow CSV mechatroner.rainbow-csv

Microsoft Go
Shell launcher tyriar.shell-launcher - good needs configuration
Theme by language
jsaulou.theme-by-language

Sync Local Settings

Sync Local Settings Docs

Older Settings

+++++ CRITICAL Settings Sync shan.code-settings-sync

filename syncLocalSettings.json
location C:\Users\s163837\AppData\Roaming\Code\User\syncLocalSettings.json

{
  "ignoreUploadFiles": [
    "projects.json",
    "projects_cache_vscode.json",
    "projects_cache_git.json",
    "projects_cache_svn.json",
    "gpm_projects.json",
    "gpm-recentItems.json"
  ],
  "ignoreUploadFolders": ["workspaceStorage"],
  "ignoreExtensions": [],
  "replaceCodeSettings": {},
  "gistDescription": "Visual Studio Code Settings Sync Gist",
  "version": 322,
  "token": "42f036ddf09423c1c049c3c46ef3a06cb1705b68",
  "downloadPublicGist": false,
  "supportedFileExtensions": ["json", "code-snippets"],
  "openTokenLink": true,
  "disableUpdateMessage": false,
  "lastUpload": "2018-12-10T22:01:52.238Z",
  "lastDownload": null,
  "githubEnterpriseUrl": null,
  "askGistName": false,
  "customFiles": {},
  "hostName": null,
  "useCliBaseInstallation": true
}

Read-Only Indicator alefragnani.read-only-indicator
R ikuyadeu.r
R LSP Client
reditorsupport.r-lsp
Quokka.js
wallabyjs.quokka-vscode

=

-highly rated, unsure what it does
Python Extension Pack
donjayamanne.python-extension-pack
Python

Project Manager
alefragnani.project-manager
Prettier - Code formatter
esbenp.prettier-vscode
PowerShell
Path Intellisense
christian-kohler.path-intellisense
code --install-extension ms-python.python
code --install-extension donjayamanne.jupyter
code --install-extension donjayamanne.python-extension-pack
code --install-extension alefragnani.project-manager
code --install-extension
code --install-extension
Language Support for Java(TM) by Red Hat
redhat.java
Preview

Jupyter
donjayamanne.jupyter
Preview

Jupyter
donjayamanne.jupyter
Preview

Other Extensions

Trailing Semicolon
naumovs.trailing-semicolon
Sergii Naumov3,681Repository
Provides the command to append semicolon to the end of current line.

Shell launcher
tyriar.shell-launcher
Daniel Imms33,499RepositoryLicense
Easily launch multiple shell configurations in the terminal
Reload to Activate

Start any shell
remcoros.startanyshell
Remco Ros29,180RepositoryLicense
Start any shell from VS Code, configurable from user settings.

MAYBES

Selection Encase brandoncravener.selection-encase - i think this is the default behaviour, but if not get this.
Quick Task
lkytal.quicktask
npm
eg2.vscode-npm-script
-isnt this by default as well?

Maven for Java
vscjava.vscode-maven
Preview
Maven for Java
vscjava.vscode-maven
Preview

Shell Launcher

Key Binding set to Ctrl + ` Ctrl + ` (Double Press)

  "shellLauncher.shells.windows": [
    {
      "shell": "C:\\Windows\\System32\\cmd.exe",
      "args": [],
      "label": "CMD"
    },
    {
      "shell": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
      "args": [],
      "label": "PowerShell"
    },
    {
      "shell": "C:\\Program Files\\Git\\bin\\bash.exe",
      "args": [],
      "label": "Git bash"
    },
    {
      "shell": "C:\\Windows\\System32\\bash.exe",
      "args": [],
      "label": "Bash"
    },
    {
      "shell": "C:\\Windows\\System32\\wsl.exe",
      "args": [],
      "label": "WSL"
    }
  ]

Work Config

WSL alt 2639

hx

Errors Encountered

code-runner.run not found

Changed

"code-runner.runInTerminal": true

Still not running.

Could be that terminal is wsl, and python in windows.

Tried:

"py2": "/mnt/c/windows/py.exe -2 -c",

but still not working, may be this:

Share ENV btw windows and wsl

Trying to install python on wsl

sudo apt update
sudo apt install python python3 pip openjdk-11-jdk

Using WSL - no such file or directory

andy@DESKTOP:/mnt/c/ASUSsync/VS Code$ C:/Windows/py.exe -m pip install -U jedi --user
-bash: C:/Windows/py.exe: No such file or directory

Changed to /mnt/c/Windows/py.exe -m pip install -U autopep8 --user

which worked

WSLENV=GOPATH/l:USERPROFILE/w:SOMEVAR/wp

Appearance

make selected interface elements a different color


  "workbench.colorCustomizations": {
    "titleBar.border": "#05080A",
    "list.activeSelectionBackground": "#05080A",
    "list.inactiveSelectionBackground": "#05080A",
    "tab.inactiveBackground": "#05080A",
    "editorGroupHeader.tabsBackground": "#05080A",
    "editorGroupHeader.noTabsBackground": "#05080A",
    "activityBar.background": "#05080A",
    "sideBar.background": "#05080A",
    "sideBarSectionHeader.background": "#05080A",
    "activityBar.border": "#0b1015",
    "tab.border": "#0b1015",
    "panel.border": "#05080A",
    "statusBar.border": "#05080A"
  }
{
  "workbench.iconTheme": "vscode-icons",
  "editor.fontFamily": "Operator Mono SSM Lig",
  "editor.lineHeight": 25,
  "editor.fontLigatures": true,
  "explorer.decorations.badges": false,
  "editor.fontSize": 14,
  "editor.letterSpacing": 0.5,
  "editor.fontWeight": "400",
  "editor.renderWhitespace": "none",
  "workbench.statusBar.feedback.visible": false,
  "editor.rulers": [
      80,
      100,
      120
  ],
  "whiteviz.maximumLimit": 500,
  "whiteviz.expandedTabIndicator": false,
  "editor.occurrencesHighlight": true,
  "workbench.tree.horizontalScrolling": true,
  "editor.cursorStyle": "line-thin",
  "editor.showFoldingControls": "always",
  "editor.matchBrackets": true
}

Font

    "editor.fontSize": 16,
    "editor.fontWeight": "700",
    "editor.fontFamily": "'Roboto Mono', Hasklig",
       "editor.fontLigatures": true,

Code Command Line

code -h Visual Studio Code 1.29.1 Usage: code.exe [options] [paths...] To read output from another program, append '-' (e.g. 'echo Hello World | code -') Options: -d, --diff <file> <file> Compare two files with each other. -a, --add <dir> Add folder(s) to the last active window. -g, --goto <file:line[:character]> Open a file at the path on the specified line and character position. -n, --new-window Force to open a new window. -r, --reuse-window Force to open a file or folder in an already opened window. -w, --wait Wait for the files to be closed before returning. --locale <locale> The locale to use (e.g. en-US or zh-TW). --user-data-dir <dir> Specifies the directory that user data is kept in. Can be used to open multiple distinct instances of Code. -v, --version Print version. -h, --help Print usage. Extensions Management: --extensions-dir <dir> Set the root path for extensions. --list-extensions List the installed extensions. --show-versions Show versions of installed extensions, when using --list-extension. --uninstall-extension (<extension-id> | <extension-vsix-path>) Uninstalls an extension. --install-extension (<extension-id> | <extension-vsix-path>) Installs or updates the extension. Use `--force` argument to avoid prompts. --enable-proposed-api (<extension-id>) Enables proposed API features for extensions. Can receive one or more extension IDs to enable individually. Troubleshooting: --verbose Print verbose output (implies --wait). --log <level> Log level to use. Default is 'info'. Allowed values are 'critical', 'error', 'warn', 'info', 'debug', 'trace', 'off'. -s, --status Print process usage and diagnostics information. -p, --performance Start with the 'Developer: Startup Performance' command enabled. --prof-startup Run CPU profiler during startup --disable-extensions Disable all installed extensions. --disable-extension <extension-id> Disable an extension. --inspect-extensions Allow debugging and profiling of extensions. Check the developer tools for the connection URI. --inspect-brk-extensions Allow debugging and profiling of extensions with the extension host being paused after start. Check the developer tools for the connection URI. --disable-gpu Disable GPU hardware acceleration. --upload-logs Uploads logs from current session to a secure endpoint. --max-memory Max memory size for a window (in Mbytes).

Backup

Will set an operation in task scheduler. Not working right now

Set Environment Variable on all machines setx ASUSsync "D:\ASUSsync\" mkdir %ASUSsync%\Backups cd /d D:\ C:\"Program Files"\7-Zip\7z.exe a "VS Code Archive\_%Date%" %ASUSsync%\"VS Code"\* -w %ASUSsyncBU%\ -x @%ASUSsync%\"VS Code"\BackUpExclude.txt -m=bzip2 -r -sns -spf 7z.exe a[add][archive name] [what to add][flags]

Using WinRar

"C:\Program Files\WinRar\WinRAR.exe" #To Add cd d:\SaveDirectory "C:\Program Files\WinRar\WinRAR.exe" a fileName.rar "D:\ASUSsync\VS Code\md\* #Append date to filename with -ag mkdir d:\asussync\backups\ "C:\Program Files\WinRar\WinRAR.exe" a -ag+YYMMDD "D:\ASUSsync\Backups\vsCodeBackUp.rar" "D:\ASUSsync\VS Code\md\*" "D:\ASUSsync\ASUSVS-WorkSpace.code-workspace" "D:\ASUSsync\VS Code\.vscode\*" #Using a file list and using version numbers and month string "C:\Program Files\WinRar\WinRAR.exe" a -ag+YYMMM{v}nn-- -@+ "D:\ASUSsync\Backups\vsCodeBackUp.rar" @"D:\Asussync\backups\backups.txt" #Make it universal using EnvVars ##Update for each machine... setx ASUSsync "D:\ASUSsync\" #if needed run: mkdir %ASUSsync%\Backups #finally: "C:\Program Files\WinRar\WinRAR.exe" a -ag+YYMMM{.v}nn-- -@+ \Backups\vsCodeBackUp.rar @\backups\backups.txt ##Not Working... cd %ASUSSync%

backups.txt

D:\ASUSsync\VS Code\md\* D:\ASUSsync\ASUSVS-WorkSpace.code-workspace D:\ASUSsync\VS Code\.vscode\* D:\ASUSsync\VS Code\AHK\* D:\ASUSsync\VS Code\IOT\* D:\ASUSsync\VS Code\java\* D:\ASUSsync\VS Code\PowerShell\* D:\ASUSsync\VS Code\Python\* D:\ASUSsync\VS Code\qk-nts\* D:\ASUSsync\VS Code\R\* D:\ASUSsync\VS Code\Scripts\* D:\ASUSsync\VS Code\WorkspaceSetup\*

VS Code RegExp

Reference 1

There are many flavors of RegExp- VS Code uses Rust Rust RegExp specifically Here

Microsoft VS RegExp
exe64=x64\(.*?)(

Substitutions in Reg Exp

File

GOOD- Quick Reference
PDF Version

Note- The link- Microsoft VS RegExp suggests an older easier form of RegExp thats worth checking out if this isnt working

Advanced

The regular expression pattern \b(?(\d{2}-)``\d{2}-\d{7}|\d{3}-\d{2}-\d{4})\b is interpreted as shown in the following table.

Pattern Description
\b Start at a word boundary.
(?(\d{2}-) Determine whether the next three characters consist of two digits followed by a hyphen.
\d{2}-\d{7} If the previous pattern matches, match two digits followed by a hyphen followed by seven digits.
\d{3}-\d{2}-\d{4} If the previous pattern does not match, match three decimal digits, a hyphen, two decimal digits, another hyphen, and four decimal digits.
\b Match a word boundary.

The regular expression pattern \b(?<n2>\d{2}-)?``(?(n2)``\d{7}|\d{3}-\d{2}-\d{4})\b is interpreted as shown in the following table.

Pattern Description

Launch.json

Tasks.json

Documentation

This is used for external tools- like Gulp, grunt, make, gulp, rake, MSBuild. These tools are mostly run from the command line and automate jobs inside and outside the inner software development loop (edit, compile, test, and debug).

Variables allowed:

  "${workspaceFolderBasename}",
  "${workspaceFolder}",
  "${cwd}",
  "${fileBasenameNoExtension}",
  "${fileBasename}",
  "${fileDirname}",
  "${fileExtname}",
  "${file}",
  "${lineNumber}",
  "${relativeFile}",
  "${selectedText}",
  "${workspaceFolderBasename}",
  "${workspaceFolder}",